from main import usernames4, shop_dirt
from page import get_page
from login import login

login(usernames4)
page = get_page(usernames4)
page.get("https://fxg.jinritemai.com/ffa/multiShop")
ele_list = page.eles(".index_roleItem__1-Hwe")
for ele in ele_list:
    shopname = '抖音-' + ele.ele(".index_introName__fRtLx").text
    shop_dirt[shopname] = usernames4['username']
print(shop_dirt)